package com.example.mq1;

import com.example.mq1.mqserver.BrokerServer;
import com.sun.corba.se.pept.broker.Broker;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

import java.io.IOException;

@SpringBootApplication
public class Mq1Application {

    public static ConfigurableApplicationContext context;
    public static void main(String[] args) throws IOException {
        context = SpringApplication.run(Mq1Application.class, args);
//        BrokerServer brokerServer = new BrokerServer(9090);
//        brokerServer.start();
    }

}
